// 系统日志管理模块api
import { axios } from '@/utils/request'
// 获取系统日志分页数据
function getSysLogPageData (query) {
  return axios({
    url: '/user-service/userOperateLog',
    method: 'get',
    params: query
  })
}

// 导出系统日志数据
function exportSysLogData (query) {
  return axios({
    url: '/user-service/userOperateLog/taskStatistics/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}


// 系统日标题下拉数据
function getSysLogTitlesData (query) {
  return axios({
    url: '/user-service/operateLog/title/select',
    method: 'get',
    params: query
  })
}

export default {
  getSysLogPageData,
  exportSysLogData,
  getSysLogTitlesData
}
